package cn.itcast.pattern.decorator.impl;

import cn.itcast.pattern.decorator.FastFood;

/**
 * 炒饭，具体构建角色-炒面
 */
public class FriceNoodles extends FastFood {
    public FriceNoodles(float price, String desc) {
        super(12, "炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
